package com.zhang.server.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Borrow {

    private Integer id;
    private String book_name;
    private String book_no;
    private String user_huiyuanhao;
    private String user_name;
    private String user_phone;

    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private String createtime;

    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private String updatetime;
    private Integer score;
    private String status;
    private Integer days;
    private LocalDate return_date;

    private String note;

}